CREATE TABLE [dbo].[X68CPCOA]
(
[X68NROREG] [dbo].[TD_IN_001] NULL,
[X68IDENT] [dbo].[TD_VC_020] NULL,
[X68PERIODO] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[X68FECHA] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[X68TIPO] [dbo].[TD_VC_002] NULL,
[X68SERIE] [dbo].[TD_VC_004] NULL,
[X68NUMERO] [dbo].[TD_VC_020] NULL,
[X68BASE] [dbo].[TD_NU_016_004] NOT NULL CONSTRAINT [DF__X68CPCOA__X68BAS__6FD49106] DEFAULT ((0)),
[X68IGV] [dbo].[TD_NU_016_004] NOT NULL CONSTRAINT [DF__X68CPCOA__X68IGV__71BCD978] DEFAULT ((0)),
[X68CODIGO] [dbo].[TD_VC_003] NULL,
[X68FLAGMON] [dbo].[TD_VC_001] NULL,
[X68NORDEN] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[X68TIPORI] [dbo].[TD_VC_002] NULL,
[X68SERORI] [dbo].[TD_VC_004] NULL,
[X68NUMORI] [dbo].[TD_VC_020] NULL,
[X68FECORI] [dbo].[TD_VC_008] NULL,
[X68ESTADO] [dbo].[TD_VC_001] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[X68CPCOA] ADD CONSTRAINT [CK__X68CPCOA__X68BAS__70C8B53F] CHECK (([X68BASE]>=(0)))
GO
ALTER TABLE [dbo].[X68CPCOA] ADD CONSTRAINT [CK__X68CPCOA__X68IGV__72B0FDB1] CHECK (([X68IGV]>=(0)))
GO
